/*
 * @Date: 2023-03-10 18:43:50
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-10 19:16:03
 * @FilePath: \A19\backend\src\shared\protocols\QuestionsSys\PtlJudgeTest.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { studentAnswer } from "../../types/Answer";

export interface ReqJudgeTest extends BaseRequest {
    examOrHomework:"exam" | "homework",
    score:number,
    useTest:ObjectId,
    answers:Array<studentAnswer>
}

export interface ResJudgeTest extends BaseResponse {
    
}

export const conf: BaseConf = {
  needRole: 'teacher',
  needLogin: true,
};
